package com.imc.platform.base.common.dao;

import com.imc.platform.base.common.pojo.TypePic;
import com.imc.platform.base.order.pojo.Order;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

/*
* 类描述：基本公用类
* 开发者：YT
* 创建日期：2018/10/22 21:56
*/
@Mapper
public interface ICommonPicMapper {
    /*
     * YT  2018/11/19 23:00
     * 方法描述：分页查询图片信息
     */
    List<TypePic> queryTypePicByMap(Map<String, String> typePicMap);

    @Select("select ${columntwo} from  ${table_name} where ${column}=#{bnId} and ${columnone}=#{imgName}")
    String lookUrl(@Param("column")String column,@Param("bnId")String bnId,@Param("imgName")String imgName,@Param("table_name")String table_name,@Param("columnone")String column1,@Param("columntwo")String column2);
}
